<?php

namespace app\modules\merchant\forms\order;

use app\common\forms\BaseForm;

class AdjustForm extends BaseForm{

    public $merchant_id;
    public $order_id;
    public $uri;

    public function rules()
    {
        return [
            ['merchant_id','default','value'=>\Yii::$app->getModule("merchant")->get("user")->getId()],
            ['order_id','required','message'=>\Yii::t("app","订单ID不能为空")],
            ['uri','required','message'=>\Yii::t("app","凭证不能为空")],
        ];
    }
}